package com.qin.malldiscount.dto;

import com.qin.malldiscount.domain.SmsCoupon;
import com.qin.malldiscount.domain.SmsCouponProductCategoryRelation;
import com.qin.malldiscount.domain.SmsCouponProductRelation;
import lombok.Data;

import java.util.List;

/**
 * 优惠券信息封装，包括绑定商品和绑定分类
 * @author Leisure
 * create 2022 2022/11/23 16:53
 **/
@Data
public class SmsCouponParam extends SmsCoupon {

    /**
     * 优惠券绑定的商品
     */
    private List<SmsCouponProductRelation> productRelationList;

    /**
     * 优惠券绑定的商品分类
     */
    private List<SmsCouponProductCategoryRelation> productCategoryRelationList;
}
